package mongohelper.default_impl;

import mongohelper._MongoFieldEncryptor;
import mongohelper.exceptions.MongoTranslationException;


public class DefaultMongoFieldEncryptor implements _MongoFieldEncryptor<Object> {

	/**
	 * DO NOT USE.
	 */
	@Deprecated
	public String encrypt(Object field) throws MongoTranslationException {
		throw new MongoTranslationException(
				"Default translator indicates non-use of an encryptor");
	}

	/**
	 * DO NOT USE.
	 */
	@Deprecated
	public Object decrypt(String encrypted) throws MongoTranslationException {
		throw new MongoTranslationException(
				"Default translator indicates non-use of an encryptor");
	}

}
